<%-- 
    Document   : index
    Created on : 2009-3-25, 15:31:04
    Author     : g.huangjx
--%>

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script   type="text/javascript"   src="<s:url value="/xtree/resources/xtree.js"/>"></script>
        <script   type="text/javascript"   src="<s:url value="/xtree/resources/xmlextras.js"/>"></script>
        <script   type="text/javascript"   src="<s:url value="/xtree/resources/xloadtree.js"/>"></script>
        <link   type="text/css"   rel="stylesheet"   href="<s:url value="/xtree/resources/xtree.css"/>"   />
        <title>JSP Page</title>
    </head>
    <body>
        <script type="text/javascript">
            /// XP Look
            webFXTreeConfig.rootIcon        = "<s:url value="/xtree/images/xp/folder.png"/>";
            webFXTreeConfig.openRootIcon    = "<s:url value="/xtree/images/xp/openfolder.png"/>";
            webFXTreeConfig.folderIcon        = "<s:url value="/xtree/images/xp/folder.png"/>";
            webFXTreeConfig.openFolderIcon    = "<s:url value="/xtree/images/xp/openfolder.png"/>";
            webFXTreeConfig.fileIcon        = "<s:url value="/xtree/images/xp/file.png"/>";
            webFXTreeConfig.lMinusIcon        = "<s:url value="/xtree/images/xp/Lminus.png"/>";
            webFXTreeConfig.lPlusIcon        = "<s:url value="/xtree/images/xp/Lplus.png"/>";
            webFXTreeConfig.tMinusIcon        = "<s:url value="/xtree/images/xp/Tminus.png"/>";
            webFXTreeConfig.tPlusIcon        = "<s:url value="/xtree/images/xp/Tplus.png"/>";
            webFXTreeConfig.iIcon            = "<s:url value="/xtree/images/xp/I.png"/>";
            webFXTreeConfig.lIcon            = "<s:url value="/xtree/images/xp/L.png"/>";
            webFXTreeConfig.tIcon            = "<s:url value="/xtree/images/xp/T.png"/>";
            var rti;
            var tree = new WebFXTree("产品树");
            tree.add(new WebFXLoadTreeItem("产品树", "<s:url value='/' escapeAmp='false'/>"+"/business/catalog/treeProductSort.action?conds.parentSort=0&conds.sortType=1&date=<%=System.currentTimeMillis()%>"));
            //tree.add(new WebFXLoadTreeItem("福建省", "2",""));
          //  tree.add(new WebFXLoadTreeItem("福州", "3","",""));
            document.write(tree);
        </script>
    </body>
</html>
